package com.quick.service;

import com.quick.base.Page;
import com.quick.base.Search;
import com.quick.blog.dto.BlogArticleDTO;
import com.quick.blog.search.BlogArticleSearch;
import com.quick.blog.vo.BlogArticleVo;

import java.math.BigInteger;
import java.util.List;

public interface IArticleService {
    Page<BlogArticleVo> search(Search<BlogArticleSearch> search);

    Boolean save(BlogArticleDTO article);

    BlogArticleVo queryById(BigInteger id);

    Boolean batchDel(List<Long> ids);

	List<BlogArticleVo> hots();
}
